import request from '@/utils/request'

// 查询核酸任务超时列表
export function listMissionovertime(query) {
  return request({
    url: '/nuclein/missionovertime/list',
    method: 'get',
    params: query
  })
}

// 查询核酸任务超时详细
export function getMissionovertime(id) {
  return request({
    url: '/nuclein/missionovertime/' + id,
    method: 'get'
  })
}

// 新增核酸任务超时
export function addMissionovertime(data) {
  return request({
    url: '/nuclein/missionovertime',
    method: 'post',
    data: data
  })
}

// 修改核酸任务超时
export function updateMissionovertime(data) {
  return request({
    url: '/nuclein/missionovertime',
    method: 'put',
    data: data
  })
}

// 删除核酸任务超时
export function delMissionovertime(id) {
  return request({
    url: '/nuclein/missionovertime/' + id,
    method: 'delete'
  })
}
